package com.zhilifang.modules.zlf.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhilifang.modules.zlf.dao.ImgTitleAltMapper;
import com.zhilifang.modules.zlf.entity.ImgTitleAlt;
import com.zhilifang.modules.zlf.service.ImgTitleAltService;

import java.util.List;

@Service("imgTitleAltService")
public class ImgTitleAltServiceImpl implements  ImgTitleAltService{

    @Autowired
    private ImgTitleAltMapper mapper;


	@Override
	public List<ImgTitleAlt> selectTableNameImg(String tableName, String title, String alt,String[] ids) {
		// TODO Auto-generated method stub
		return mapper.selectTableNameImg(tableName, title, alt,ids);
	}


	@Override
	public ImgTitleAlt selectTableNameById(String tableName, int id) {
		// TODO Auto-generated method stub
		return mapper.selectTableNameById(tableName, id);
	}

	@Override
	public void updateImgTitleAlt(String tableName, String title, String alt, int id) {
		// TODO Auto-generated method stub
		mapper.updateImgTitleAlt(tableName, title, alt, id);
	}



}